package sy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.dao.IotTalkBackURIDaoI;
import sy.model.IotTalkBackURI;
import sy.service.IotTalkBackURIServiceI;

@Service("iotTalkBackURIService")
public class IotTalkBackURIServiceImpl implements IotTalkBackURIServiceI{
	@Autowired
	IotTalkBackURIDaoI iotTalkBackURIDao;

	@Override
	public void save(IotTalkBackURI iotTalkBackURI) {
		// TODO Auto-generated method stub
		iotTalkBackURIDao.save(iotTalkBackURI);
	}

	@Override
	public void update(IotTalkBackURI iotTalkBackURI) {
		// TODO Auto-generated method stub
		iotTalkBackURIDao.update(iotTalkBackURI);
	}

	@Override
	public void delete(List<Integer> ids) {
		// TODO Auto-generated method stub
		iotTalkBackURIDao.delete(ids);
	}

	@Override
	public List<IotTalkBackURI> list() {
		// TODO Auto-generated method stub
		return iotTalkBackURIDao.list();
	}

	@Override
	public List<IotTalkBackURI> listIotTalkBackURIByKey(String key) {
		// TODO Auto-generated method stub
		return iotTalkBackURIDao.listIotTalkBackURIByKey(key);
	}

	@Override
	public IotTalkBackURI getIotTalkBackURIById(Integer id) {
		// TODO Auto-generated method stub
		return iotTalkBackURIDao.getIotTalkBackURIById(id);
	}
	@Override
	public IotTalkBackURI getIotTalkBackURIByCode(String uniqueCode){
		return iotTalkBackURIDao.getIotTalkBackURIByCode(uniqueCode);
	}
}
